index_of

pure function index_of(value: T): integer

Gets the index of the first occurrence of a value in the list, or -1 if not found.

Since

0.9.0

Parameters

value

The value to search for.